viewport: Set the pixel cache background from the child
authorBenjamin Otte <otte@redhat.com>
Wed, 20 Jan 2016 03:35:04 +0000 (04:35 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 20 Jan 2016 03:37:05 +0000 (04:37 +0100)
commit9cb0a97bb56ef904e7518a8b3bd722acd8515773
tree72deac2362fbb7637dd9b520f6d8270c4cd303ac
parentbb92428112b1b6ee4fae639e5190608c437c24b5
viewport: Set the pixel cache background from the child

The viewport itself doesn't move, so we cannot use it as the pixel
cache's background. Use the bottommost using element instead, which is
the viewport's child.

This might need adaptations in themes as we want the backgroud to be
opaque to speed up pixel cache performance.
gtk/gtkviewport.c